package mwa.cs.model;

/**
 * A class used for represent as a zone
 */
public class Zone {
	
	private int vnSiteId;
	private int vnZoneId;
	private String vaZoneName;
	private int vnInsertUserId;
	private String vaInsertDate;
	private String vaInsertTime;
	private int vnUpdateUserId;
	private String vaUpdateDate;
	private String vaUpdateTime;
	
	public Zone(){
		
	}
	
	public Zone(int pnSiteId, int pnZoneId, String paZoneName, int pnInsertUserId, String paInsertDate, 
			String paInsertTime, int pnUpdateUserId, String paUpdateDate, String paUpdateTime) {
		this.vnSiteId = pnSiteId;
		this.vnZoneId = pnZoneId;
		this.vaZoneName = paZoneName;
		this.vnInsertUserId = pnInsertUserId;
		this.vaInsertDate = paInsertDate;
		this.vaInsertTime = paInsertTime;
		this.vnUpdateUserId = pnUpdateUserId;
		this.vaUpdateDate = paUpdateDate;
		this.vaUpdateTime = paUpdateTime;
	}

	/**
	 * @return the vnSiteId
	 */
	public int getVnSiteId() {
		return vnSiteId;
	}

	/**
	 * @param vnSiteId the vnSiteId to set
	 */
	public void setVnSiteId(int vnSiteId) {
		this.vnSiteId = vnSiteId;
	}

	/**
	 * @return the vnZoneId
	 */
	public int getVnZoneId() {
		return vnZoneId;
	}

	/**
	 * @param vnZoneId the vnZoneId to set
	 */
	public void setVnZoneId(int vnZoneId) {
		this.vnZoneId = vnZoneId;
	}

	/**
	 * @return the vaZoneName
	 */
	public String getVaZoneName() {
		if( this.vaZoneName  == null){ 
			return "";
		}else { 
			return vaZoneName;
		}
		
	}

	/**
	 * @param vaZoneName the vaZoneName to set
	 */
	public void setVaZoneName(String vaZoneName) {
		this.vaZoneName = vaZoneName;
	}

	/**
	 * @return the vnInsertUserId
	 */
	public int getVnInsertUserId() {
		return vnInsertUserId;
	}

	/**
	 * @param vnInsertUserId the vnInsertUserId to set
	 */
	public void setVnInsertUserId(int vnInsertUserId) {
		this.vnInsertUserId = vnInsertUserId;
	}

	/**
	 * @return the vaInsertDate
	 */
	public String getVaInsertDate() {
		return vaInsertDate;
	}

	/**
	 * @param vaInsertDate the vaInsertDate to set
	 */
	public void setVaInsertDate(String vaInsertDate) {
		this.vaInsertDate = vaInsertDate;
	}

	/**
	 * @return the vaInsertTime
	 */
	public String getVaInsertTime() {
		return vaInsertTime;
	}

	/**
	 * @param vaInsertTime the vaInsertTime to set
	 */
	public void setVaInsertTime(String vaInsertTime) {
		this.vaInsertTime = vaInsertTime;
	}

	/**
	 * @return the vnUpdateUserId
	 */
	public int getVnUpdateUserId() {
		return vnUpdateUserId;
	}

	/**
	 * @param vnUpdateUserId the vnUpdateUserId to set
	 */
	public void setVnUpdateUserId(int vnUpdateUserId) {
		this.vnUpdateUserId = vnUpdateUserId;
	}

	/**
	 * @return the vaUpdateDate
	 */
	public String getVaUpdateDate() {
		return vaUpdateDate;
	}

	/**
	 * @param vaUpdateDate the vaUpdateDate to set
	 */
	public void setVaUpdateDate(String vaUpdateDate) {
		this.vaUpdateDate = vaUpdateDate;
	}

	/**
	 * @return the vaUpdateTime
	 */
	public String getVaUpdateTime() {
		return vaUpdateTime;
	}

	/**
	 * @param vaUpdateTime the vaUpdateTime to set
	 */
	public void setVaUpdateTime(String vaUpdateTime) {
		this.vaUpdateTime = vaUpdateTime;
	}

}
